{include file="index/header" /}
<block name="css">
	<script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/ueditor.config.js"></script>
	<script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/ueditor.all.min.js"> </script>
	<script type="text/javascript" charset="utf-8" src="__PUBLIC__/admin/UEditor/lang/zh-cn/zh-cn.js"></script>
</block>
<script type="text/javascript" src="__PUBLIC__admin/UEditor/third-party/SyntaxHighlighter/shCore.js"></script>
<link rel="stylesheet" href="__PUBLIC__admin/UEditor/third-party/SyntaxHighlighter/shCoreDefault.css">
<script type="text/javascript">
	SyntaxHighlighter.all();
</script>
<body>
	<div class="panel admin-panel margin-top" id="add">
		<div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 实操点评</strong></div>
		<div class="body-content">
			<form method="post" class="form-x" action="">    
				<div class="form-group">
					<div class="label">
						<label>课程：</label>
					</div>
					<div class="label" style="width:5%;overflow:inherit">
						<label>{$data.nav_name}<br/>{$data.type_name}<br/>{$data.s_name}<br/>{$data.course_name}</label>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>学生身份：</label>
					</div>
					<div class="label" style="width:5%;overflow:inherit">
						<label>{$data.know_nickname}<br/>{$data.know_phone}<br/>{$data.user_id|returnUserDispose=###}</label>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>学生实操作业：</label>
					</div>
					<div class="field">
						{$data.content}
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>点评：</label>
					</div>
					<div class="field">
						<textarea name="content" id="editor" style="width:845px; height:460px;" data-validate="required:内容为空">{$data.id|returnAdminTrain=###}</textarea>
						<div class="tips">点评</div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>成绩：</label>
					</div>
					<div class="field">
						<div class="button-group radio">
							<input name="grade" value="1" type="radio" {if $data.grade eq 1}  checked="checked" {/if}>成功
							<input name="grade" value="2" type="radio" {if $data.grade eq 2}  checked="checked" {/if}>失败
							<input name="grade" value="0" type="radio" {if $data.grade eq 0}  checked="checked" {/if}>未点评
						</div>
					</div>
				</div>
				<input type="hidden" name="id" value="{$data.id}">
				<div class="form-group">
					<div class="label">
						<label></label>
					</div>
					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit" onclick="refersh_window()"> 提交</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</body></html>
<script>
	function refersh_window() {
		setcookie('refersh_time', 1);
	}
	var ue = UE.getEditor('editor');
</script>